<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8" />

	<title>广州市澳凯家具有限公司</title>
	<meta name="keywords" content="家具，设计，广州市澳凯">
	<meta name="description" content="致力於引領辦公家具潮流的廣州市澳凱家具有限公司是一家集專業研發設計，生產製造，銷售與服務於一體的現代企業，工廠座落於享有中國家具之都之稱的廣州市。">
	<meta name='author' content='网站建设：智杰科技'>
	<meta name='viewport' content='width=1440' />
	<meta http-equiv="Cache-Control" content="no-transform" />
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<link href="./css/build/public.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="./css/build/new_detail.css">
	<style>
		#c_news_detail-15196393181558459{
			position: relative;
			top: 25px;
		}
		#contentIframe{
			width: 100%;
			height: 100%;
			overflow: hidden;
		}
		.hide-content{
			visibility: hidden;
			min-height: 500px;
		}
		#newsDetailBox img{
			max-width: 100%;
		}
	</style>
</head>

<body>
	<div class="main pagebox">
		<div class="nav-wrap" id="publicNav"></div>
		<div id="c_news_detail-15196393181558459" class="c_news_detail-01001" min-height="551" style="overflow: visible; height: auto">
			<div class="e_stylebox e_ContentOrdinaryStyleBox-001 p_stylebox" id="">
				<div class="stylebox_top">
					<div class="stylebox_title">
						<h2 class="title_main">资讯详情</h2>
					</div>
				</div>
				<div class="stylebox_top_line"></div>
				<div class="stylebox_content">
					<div class="e_box e_articles-001 p_NewsDetail ">
						<div class="e_box e_box-001 p_news">
							<!--正文内容-->
							<div id="newsDetailBox">

							</div>
							<!--正文内容 结束-->

							<!--begin-->
							<div class="e_box e_box-000 p_assist">

								<!--   -->
							</div>
							<!--end-->
							<div class="e_line e_ArticleHline-001 p_ArticleHline"></div>
							<!--上一页下一页-->
							<div class="e_box e_box-000  p_PrevAndNext   ">
								<div class="e_box e_box-000  p_previewBox">
									<div class="e_title e_name-001 p_nameD ">
										<div class="font"><i class="iconfont"></i><span class="i_pageChangeUpTitle">&lt;</span> </div>
									</div>
									<a href="" class="e_link e_link-000 p_LinkC" id="prevNewsBtn">
										<div class="e_title e_MinorLink-001 p_PreviewTitle">
											<div class="font"></div>
										</div>
									</a>
								</div>
								<div class="e_box e_box-000  p_nextBox">
									<a href="" class="e_link e_link-000 p_LinkD" id="nextNewsBtn">
										<div class="e_title e_MinorLink-001 p_PreviewTitle">
											<div class="font"></div>
										</div>
									</a>
									<div class="e_title  e_name-001 p_nameE ">
										<div class="font"><i class="iconfont"></i><span class="i_pageChangeDownTitle">&gt;</span></div>
									</div>
								</div>
							</div>
							<!--上一页下一页end-->
						</div>
					</div>
				</div>
				<div class="stylebox_bottom_line"></div>
				<div class="stylebox_bottom">
				</div>
			</div>
		</div>
	</div>
	<div class="footer-wrap" id="publicFooter"></div>
	<script src="js/jquery.min.js"></script>
	<script src="./js/public.js"></script>
	<script>
		function getDetail () {
			var id = getQueryString('id')
			if (!id) {
				alert('文章不存在！')
				window.location.href = 'index.html'
			}
			$.ajax({
				type: 'POST',
				url: ajaxUrlObj['GET_NEW_DETAIL'],
				data: {id:id},
				success: function(rep){
					if (typeof rep === 'string') {
						rep = JSON.parse(rep)
					}
					if (rep.code == 1){
						rep = JSON.parse(rep.data)
						var data = rep.data ? rep.data : rep
						var $content = $("#newsDetailBox")
						$content.html(data.informationUrl)
						if (rep.nextPage > 0 ) {
							$("#nextNewsBtn").attr("href",'new_detail.html?id='+rep.nextPage).find(".font").html(rep.nextName)
						} else {
							$(".p_nextBox").hide()
						}
						if (rep.lastPage > 0 ) {
							$("#prevNewsBtn").attr("href",'new_detail.html?id='+rep.lastPage).find(".font").html(rep.lastName)
						} else {
							$(".p_previewBox").hide()
						}
						if (data.seo) {
							$("title").html(data.seo.title)
							$('meta[name="keywords"]').attr("content",data.seo.keyword)
							$('meta[name="description"]').attr("content",data.seo.descs)
						}
					}
				},
				error: function(error){
					console.log(error)
					errorCb && errorCb(error)
				}
			});
		}
		getDetail()
	</script>
</body>

</html>